//
//  TableViewCell.m
//  BaseTools
//
//  Created by 李挺哲 on 15/8/28.
//  Copyright (c) 2015年 ltz. All rights reserved.
//

#import "TableViewCell.h"


@interface TableViewCell()
@property(nonatomic,assign)BOOL isDownLoad;

@end



@implementation TableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
+(instancetype) downloadTableViewCellWithTableView:(UITableView *)tableView{
    static NSString *reuseId = @"DownLoader";
    TableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:reuseId];
    if (cell == nil) {
        cell = [[[NSBundle mainBundle] loadNibNamed:@"TableViewCell" owner:nil options:nil] lastObject];
    }
    
    cell.selectionStyle = UITableViewCellSelectionStyleNone;

    
    return cell;



}

- (IBAction)downLoadButtonClick:(UIButton *)sender {
    NSLog(@"tag %ld",(long)sender.tag);
   
    
    
    
}
@end
